<?php
function smarty_modifier_picture($string)
{
	return preg_match('/^http:/', $string) ? $string : (WEB_ROOT.'uploads/'.$string);
}

?>
